-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor workflow to properly wait for migrations #6272
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #1229 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@Ashesh3 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
WHAT
🤖 Generated by Copilot at 43305da
Improved the reliability and speed of the cypress workflow by separating the steps of starting the
care
service and loading dummy data. Used a custom action to wait for the migrations to finish before proceeding.This pull request introduces an important enhancement to the Docker setup script. Previously, the script used a fixed sleep time to wait for the database migrations to complete before loading the dummy data. This approach was not reliable because the actual time required for the migrations can vary.
The updated script now dynamically waits for all database migrations to be applied before proceeding to load the dummy data. This is achieved by continuously checking for any unapplied migrations every 5 seconds, and once all migrations have been applied, the script proceeds to load the dummy data.
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
HOW
🤖 Generated by Copilot at 43305da